<%
"""
   Main frame. 

   expects:
       menu  - the menu for the page
       body  - the body of the page
"""

import time
COMPANY = "CS-557 Secure p2p project"
%>

<html>

  <title> <%=COMPANY%> </title>

  <link rel="STYLESHEET" type="text/css" href="styles/style.css">
  <link rel="SHORTCUT ICON" href="images/shortcut.png">
  
<body>

  <table border="0">
    <tr>
      <td align="right" colspan="2">

        <%-- Display a nice company logo --%>

        <a href="/" border="0">

      </td>
    </tr>    
    <tr>
      <td align="left" colspan="2">

        <%-- This is some kind of a site-wide text snippet  --%>
        <b>Secure p2p</b>

        <hr width="100%" align="left" noshade="noshade">
      </td>
    </tr>
    <tr>
      <td width="15%">

        <%-- Here is the menu --%>

        <%=menu%>

      </td>
      <td>

        <%-- Here is the body for this page --%>

        <%=body%>

      </td> 
    </tr>
    <tr>
      <td colspan="2">
        <br><br>
        <hr>
        <center>
          <a href='/'><%=COMPANY%></a>
          <%=time.strftime('%Y')%><br><br>

        </center>
      </td>
    </tr>
  </table>

</body>

</html>
